package com.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController {



    @RequestMapping("login2")
    public String login(String password, String username){

        System.out.println(password);
        System.out.println(username);
        return "{\n" +
                "code: 20000\n" +
                "data: {token: \"11111111111111111111\"}\n" +
                "}";

    }
}
